package net.wofly.common.service;

import net.wofly.common.util.ReturnBean;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * Created by siqingwei on 2018/3/11.
 */
public interface IUploadService {

    ReturnBean<String> uploadSingleFile(Integer fileType, MultipartFile file, String path);

    ReturnBean<List<String>> uploadBatchFiles(Integer fileType, MultipartFile[] files, String path);

    ReturnBean<String> uploadSingleFileForBase64(Integer fileType, String fileBase64, String path);
}
